package com.gxa.shop.bean.pojo;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.util.Date;

@Data
public class Product {

  private Integer productId;
  private Integer categoryId;
  private Integer brandId;
  private String productName;
  private Double unitPrice;
  private String productImage;
  private String productColor;
  private String productSize;
  private String productMaterial;
  private Double weight;
  private  Integer stock;
  private Integer sales;
  @JSONField(format = "yyyy-MM-dd")
  private Date launchTime;
  private Integer discountId;


}
